package org.jeecg.modules.product.basics.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 区域信息
 * @Author: jeecg-boot
 * @Date:   2024-07-05
 * @Version: V1.0
 */
@Data
@TableName("tb_basics_region")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="区域信息")
public class TbBasicsRegion implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**所属机构*/
	@Excel(name = "所属机构", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Schema(description = "所属机构")
    private String belongingDepart;
	/**区域类型*/
	@Excel(name = "区域类型", width = 15, dicCode = "regionType")
	@Dict(dicCode = "regionType")
    @Schema(description = "区域类型")
    private String regionType;
	/**生产区域编码*/
	@Excel(name = "生产区域编码", width = 15)
    @Schema(description = "生产区域编码")
    private String number;
	/**生产区域名称*/
	@Excel(name = "生产区域名称", width = 15)
    @Schema(description = "生产区域名称")
    private String name;
	/**安全负责人*/
	@Excel(name = "安全负责人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Schema(description = "安全负责人")
    private String safetyManager;
	/**联系方式*/
	@Excel(name = "联系方式", width = 15)
    @Schema(description = "联系方式")
    private String tel;
	/**面积*/
	@Excel(name = "面积", width = 15)
    @Schema(description = "面积")
    private String area;
	/**有无防护提*/
	@Excel(name = "有无防护提", width = 15, dicCode = "haveOrNot")
	@Dict(dicCode = "haveOrNot")
    @Schema(description = "有无防护提")
    private String isMention;
	/**防护提面积*/
	@Excel(name = "防护提面积", width = 15)
    @Schema(description = "防护提面积")
    private String protectiveLiftingArea;
	/**储罐个数*/
	@Excel(name = "储罐个数", width = 15)
    @Schema(description = "储罐个数")
    private String tankNumber;
	/**罐间最小间距*/
	@Excel(name = "罐间最小间距", width = 15)
    @Schema(description = "罐间最小间距")
    private String tankMinimumSpacing;
	/**火灾危险等级*/
	@Excel(name = "火灾危险等级", width = 15)
    @Schema(description = "火灾危险等级")
    private String fireGrade;
	/**危险品数量*/
	@Excel(name = "危险品数量", width = 15)
    @Schema(description = "危险品数量")
    private String dangerNumber;
	/**危险品总价值*/
	@Excel(name = "危险品总价值", width = 15)
    @Schema(description = "危险品总价值")
    private Double totalValue;
	/**生产工艺或存储状况简介*/
	@Excel(name = "生产工艺或存储状况简介", width = 15)
    @Schema(description = "生产工艺或存储状况简介")
    private String intro;
	/**安全措施*/
	@Excel(name = "安全措施", width = 15)
    @Schema(description = "安全措施")
    private String measure;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @Schema(description = "备注")
    private String remark;
	/**经度*/
	@Excel(name = "经度", width = 15)
    @Schema(description = "经度")
    private String longitude;
	/**纬度*/
	@Excel(name = "纬度", width = 15)
    @Schema(description = "纬度")
    private String latitude;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "normalOrStop")
	@Dict(dicCode = "normalOrStop")
    @Schema(description = "状态")
    private String status;
	/**上传文件*/
	@Excel(name = "上传文件", width = 15)
    @Schema(description = "上传文件")
    private String doc;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;
}
